package com.movies.main;

import org.apache.poi.ss.util.CellRangeAddress;

/**
 * Created by admin on 2017/4/12.
 */
public class TableHeader {

    private String header;

    private CellRangeAddress cellRangeAddress;

    public TableHeader(String header, int firstRow, int lastRow, int firstCol, int lastCol) {
        this.header = header;
        this.cellRangeAddress = new CellRangeAddress(firstRow, lastRow, firstCol, lastCol);
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public CellRangeAddress getCellRangeAddress() {
        return cellRangeAddress;
    }

    public void setCellRangeAddress(CellRangeAddress cellRangeAddress) {
        this.cellRangeAddress = cellRangeAddress;
    }
}
